package cn.stylefeng.guns.modular.ws.sso.action;

import cn.stylefeng.guns.sys.modular.rest.entity.RestDept;
        import cn.stylefeng.guns.sys.modular.rest.mapper.RestDeptMapper;
        import org.junit.Test;
        import org.junit.runner.RunWith;
        import org.springframework.beans.factory.annotation.Autowired;
        import org.springframework.boot.test.context.SpringBootTest;
        import org.springframework.stereotype.Service;
        import org.springframework.test.context.junit4.SpringRunner;

        import javax.annotation.Resource;
        import java.util.List;

        import static org.junit.Assert.*;

@SpringBootTest
@RunWith(SpringRunner.class)
public class AddUserDemo {
    @Resource
    private RestDeptMapper restDeptMapper;


    @Test
    public void deleteDept() {

        RestDept dept = restDeptMapper.selectById(new Long(27));
        System.out.println("1111111111111111111111111111111111111111111111111111111111111111111");
        System.out.println(dept.getSimpleName());
        System.out.println("1111111111111111111111111111111111111111111111111111111111111111111");
    }

}